@charset "utf-8";


*{
	margin: 0;
	padding: 0;
}

html{
	/* calc 在css中做算法运算 */
	/* vw 屏幕大小 分成100 / 3.75 
	   .9984px/100px=.01rem 
	*/
	font-size: calc(100vw/3.75);
}

body{
	/* 弹性盒子 */
	display: flex;
	/* 盒子排列方式:列/行 */
	flex-direction: column;
	/* 使内部子标签水平居中 */
	align-items: center;
}

.head{
	/* 弹性盒子 */
	display: flex;
	/* 控制子元素的排列方式 */
	align-items: flex-start;
	width: 100%;
	height: 462px;
	background: url(../img/back.jpg) no-repeat center;
	background-size: 120%;
	position: relative;
}

.head .user-icon{
	width: 198px;
	height: 198px;
	margin-top: 120px;
	margin-left: 48px;
	border: 7.2px solid white;
	border-radius: 50%;
}

.head .nickname{
	font-size: 50px;
	color: white;
	margin-top: 185px;
	margin-left: 50px;
	border-bottom: 4.8px solid white;
}

.head .navigation{
	width: 100%;
	height: 78px;
	position: absolute;
	bottom: 0;
	display: flex;
	/* 设置从左到右的布局 */
	flex-direction: row;
	line-height: 78px;
	background: rgba(0,0,0,0.5);
}

.head .navigation a{
	flex: 1;
	text-align: center;
	text-decoration: none;
	font-size: 35px;
	color: white;
}

.head .logout{
	width: 160px;
	font-size: 35px;
	position: absolute;
	left: 50%;
	top: 40px;
	margin-left: -58px;
	/* border-bottom: .03rem solid black; */
}

.fart{
	margin: 3%;
	width: 96%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.fart-content{
	position: relative;
	width: 100%;
	height: 966px;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	background: whitesmoke;
	margin-bottom: 48px;
}

.fart-content-user{
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 180px;
}

.fart-content-user div{
	height: 100%;
	margin-left: 72px;
}

.fart-content-user-icon{
	width: 150px;
	height: 120px;
	border-radius: 50%;
	margin: 24px 0 0 24px;
}

.fart-content-user-name{
	height: 110px;
	font-size: 38px;
	font-weight: bolder;
	line-height: 110px;
	color: cornflowerblue;
}

.fart-content-user-date{
	height: 50px;
	font-size: 22px;
	font-weight: bolder;
	line-height: 60px;
	color: #777;
}

.fart-content-pubish{
	width: 100%;
	height: 672px;
}

.fart-content-pubish p{
	height: 240px;
	border-top: 1.2px solid #333;
	padding: 12px 12px 12px 48px;
	font-size: 57px;
	word-wrap: break-word;
	overflow-y: auto;
}

.fart-content-pubish img{
	width: 90%;
	height: 469px;
	margin-left: 4%;
	margin-top: 10px;
	border: 12px solid white;
}

#delete{
	width: 40px;
	height: 60px;
	position: absolute;
	right: 20px;
	top: 10px;
	font-size: 40px;
	/* background: olivedrab; */
	text-align: center;
	line-height: 60px;
	font-weight: bolder;
}
#update{
	width: 40px;
	height: 60px;
	background: aqua;
	opacity: 0.5;
	position: absolute;
	right: 20px;
	top: 80px;
	font-size: 40px;
	/* background: olivedrab; */
	text-align: center;
	line-height: 60px;
	font-weight: bolder;
}

.publish{
	width: 145px;
	position: fixed;
	right: 60px;
	bottom: 60px;
	border: 7.2px solid cornflowerblue;
	border-radius: 50%;
}

/* 背景切换样式 */
.on{
	background: #6495ED;
}
